package com.dalei.vdserver.webservice;

import javax.jws.WebParam;
import javax.jws.WebService;

@WebService
public interface SessionService {

	// Get session timeout
	public long getSessionTimeout();
	
	// Register session
	public long requesSession(@WebParam(name = "deviceId") int deviceId,
			@WebParam(name = "userId") int userId);
	
	// Cancel session
	public boolean cancelSession(@WebParam(name = "deviceId") int deviceId);
}
